<%@page import="lib_model.Account.Account"%>
<%@page import="lib_model.Account.Account_group"%>
<%@page import="java.util.ArrayList"%>
<%@page import="lib_model.Orther.ReturnObj"%>
<%@page import="lib_model.Product.Tax_product"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<jsp:include page="../templates/Admin.jsp"></jsp:include>
Manager - Account
<jsp:include page="../templates/Title.jsp"></jsp:include>
<jsp:include page="../templates/StyleAd.jsp"></jsp:include>
<div class="body-center w960">
<h2 class="title-show">Edit Account Group</h2>
<form action="../account/EditAccountGroup" method="post">
<table class="tb" style="width: 300px;" id="createfac">
	<thead>
		<tr>
			<th align="left" width="20%"></th>
			<th align="left" width="20%"></th>
		</tr>
		<tr>
			<td>Username</td>
			<td><input type="hidden"  name="txtName" value="<%= request.getParameter("user")%>"><input type="text" value="<%= request.getParameter("user")%>" disabled="disabled"></td>
		</tr>
		<tr>
			<td>Group </td>
			<td>
			<select name="txtGroup">
			<% Account_group g = new Account_group();
			   ArrayList<Account_group> lg = (ArrayList<Account_group>) g.Select().ObjResult;
			   for(Account_group itemg : lg){
			%>
			<option value="<%= itemg.id %>"><%= itemg.group_name %></option>
			<% } %>
			</select>
			</td>
		</tr>
		<tr align="center">
			<td colspan="2"><input type="submit" value="Save"></td>
		</tr>
	</thead>
</table>
</form>
</div>
<jsp:include page="../templates/Footer.jsp"></jsp:include>